package com.example.student1.dao;

import com.example.student1.domain.Score;
import com.example.student1.domain.Student;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ScoreRepository extends JpaRepository<Score,Long> {
    public List<Score> findBySno(String sno);
    public List<Score> findBySnoAndCno(String sno, String cno);
    public Page<Score> findBySname(String sname, Pageable pageable);
}